/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-19 20:02:21
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-19 20:08:44
 * @别瞎看: 你个无脑牛马
 */
public class Test10_ball{
    public static void playBall(Ball ball){
        ball.play();
    }
    public static void main(String[] args) {
        Ball b=new Ball();
        Ball b2=new Basketball();
        Ball b3=new Football();
        Test10_ball.playBall(b);
        Test10_ball.playBall(b2);
        Test10_ball.playBall(b3);
    }
}